#!/bin/bash

opts=$(adapt query self opts)

if [ ! $opts ]
then
  exit
fi

# here some options are set
# read the values to transform

# options in opts should be sep by :
for opt in $(echo $opts | tr : ' ')
do
  key=${opt%%=*}
  val=${opt##*=}
  echo -n $(adapt oop self opts_$key $val)" " # space after eval is important!
done



